package dept;

public class HR extends Department{
    private int numsOfRecruit;

    public HR() {
        super();
    }

    public HR(String deptName, String managerName, int numsOfEmps, String deptInfo, int numsOfRecruit) {
        super(deptName, managerName, numsOfEmps, deptInfo);
        this.numsOfRecruit = numsOfRecruit;
    }

    public int getNumsOfRecruit() {
        return numsOfRecruit;
    }

    public void setNumsOfRecruit(int numsOfRecruit) {
        this.numsOfRecruit = numsOfRecruit;
    }

    @Override
    public void printIntro() {
        super.printBaseIntro();
        System.out.println("招聘目标："+this.getNumsOfRecruit());
    }
}
